﻿#pragma once

#include <string>

namespace Lisp
{
  void CheckArgsIs(const std::string &name, size_t got, size_t expectArgc);

  size_t CheckArgsBetween(const std::string &name, size_t got, size_t min, size_t max);

  // 偶数个参数
  size_t CheckArgsEven(const std::string &name, size_t got);

  size_t CheckArgsAtLeast(const std::string &name, size_t got, size_t min);
}